<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    //任务三  李博 2020012314 10.23
    var index = parseInt(1000*Math.random())+1;
    var left=1,right=100;
    for(i=0;i<10;i++){
        if(index>=left&&index<=right){
            console.log(index+".png图片在文件夹"+(i+1)+"内");
        }
        left+=100;
        right+=100;
    }
</script>
</html>